﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Appointments.ascx.cs"
    Inherits="Control_Appointment_Appointment" %>

<table align="center" style="height: auto; width: 760px;">
    <td height="520" width="760px">
        
        <div class="iframe" style="width: 760px; height: 470px; overflow: auto;border:1px solid">
        <div style="overflow:hidden;width:740px;position:static">
            <asp:GridView ID="grvTotalApp" runat="server" AutoGenerateColumns="False" DataKeyNames="APP_ID"
                Width="750px" RowStyle-HorizontalAlign="Center" CellPadding="4" ForeColor="#333333"
                GridLines="None" Height="327px" BorderStyle="None" BorderWidth="0px"
                >
                <RowStyle HorizontalAlign="Center" BackColor="#F7F6F3" ForeColor="#333333" />
                <Columns>
                    
                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderText="Status">
                        <ControlStyle Width="50px" />
                        <ItemTemplate>
                            <asp:CheckBox ID="chkStatus" AutoPostBack="true" runat="server" />
                            <asp:Label ID="lbStatus" runat="server" Text='<%# Eval("APP_STATUS") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Name">
                        <ControlStyle Width="150px" />
                        <ItemTemplate>
                            <asp:Label ID="lbNAME" runat="server" Text='<%# Eval("NAME") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Email">
                        <ItemTemplate>
                            <asp:Label ID="lbEMAIL" runat="server" Text='<%# Eval("EMAIL") %>'></asp:Label>
                        </ItemTemplate>
                        <ControlStyle Width="150px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Phone">
                        <ItemTemplate>
                            <asp:Label ID="lbPHONE" runat="server" Text='<%# Eval("PHONE") %>'></asp:Label>
                        </ItemTemplate>
                        <ControlStyle Width="100px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Time">
                        <ItemTemplate>
                            <asp:Label ID="lbAPP_DATE" runat="server" Text='<%# Eval("TIME") %>'></asp:Label>
                        </ItemTemplate>
                        <ControlStyle Width="100px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Paying">
                        <ItemTemplate>
                            <asp:Button ID="btnPaying" runat="server" Text="Paying" OnClick="btnPaying_Click"/>
                        </ItemTemplate>
                        <ControlStyle Width="70px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Cancel">
                        <ItemTemplate>
                            <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click" />
                        </ItemTemplate>
                        <ControlStyle Width="70px" />
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#999999" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            </asp:GridView>
        </div>
        </div>
    </td>
    </tr>
</table>
